package com.igbeok.miscellaneous.concurrency.thij;

import java.util.ArrayList;
import java.util.List;


public class Restaurant {
	Order order;
	List<Order2> orders = new ArrayList<Order2>();
	
	public static void main(String[] args) {
		Restaurant restaurant = new Restaurant();
		WaitPerson waitPerson = new WaitPerson(restaurant);
		waitPerson.start();
		Chef chef = new Chef(restaurant, waitPerson);
		chef.start();
	}
}